home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / plnk081.zip / pilot-link.0.8.1 / Java / Pdapilot / Pref.java < prev    next >
Text File  |  1997-08-03  |  571b  |  28 lines

  1.  
  2. package Pdapilot;
  3.  
  4. import java.io.*;
  5.  
  6. public class Pref extends Block {
  7.         public int id, version;
  8.         public boolean backup;
  9.         public Char4 creator;
  10.         
  11.         public Pref() {
  12.             super();
  13.         }
  14.         
  15.         public Pref(byte[] contents, Char4 creator, int id, int version, boolean backup) {
  16.             this.id = id;
  17.             this.creator = creator;
  18.             this.version = version;
  19.             this.backup = backup;
  20.             this.unpack(contents);
  21.         }
  22.         
  23.         public String describe() {
  24.             return " creator="+creator.toString()+", id="+id+", version="+version+
  25.                 ", backup="+backup+", raw='"+Util.prettyPrint(raw)+"'";
  26.         }
  27. }
  28.